/*
* open-lpc - ARM Cortex-M library
* Authors:
*    * Cristóvão Zuppardo Rufino <cristovaozr@gmail.com>
*    * David Alain do Nascimento <davidalain89@gmail.com>
* Version 1.0
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with this program.  If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef OPENLPC_CMSIS_H
#define OPENLPC_CMSIS_H

#ifdef __cplusplus
extern "C" {
#endif

#if defined (TARGET_LPC17XX)
	#include "core/LPC17xx.h"
#elif defined (TARGET_LPC13XX)
	#include "core/LPC13xx.h"
#elif defined (TARGET_LPC111X)
	#include "core/LPC11xx.h"
#else
	#error You must define a target: LPC17XX, LPC1343 or LPC111X
#endif

#include "core/cmsis_nvic.h"

#ifdef __cplusplus
}
#endif


#endif
